public class dateStrTest { public static void main(String args[]) { dateStr x = new dateStr(); System.out.println(x.date("05/31/2009")); } }